# app home
#tar -zxvf castile-seckill.tar.gz /
APP_HOME=/opt/castile/app
#spring init load application properties or yml
CONF_FILE=${APP_HOME}/config/application.yml
# java jar
PROJECT_NAME=${APP_HOME}/castile-seckill-0.0.1-SNAPSHOT-boot.jar
# java opts.
JAVA_OPTS="-Xms64m -Xmx64m -Xmn64m"
#pid file
PID_CONF=${APP_HOME}/pid/process.pid
java ${JAVA_OPTS} -Djava.ext.dirs=${APP_HOME}/lib:$JAVA_HOME/jre/lib/ext -Dspring.config.location=${CONF_FILE} -jar ${PROJECT_NAME}